<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../vue.js"></script>
</head>
<body>
<div id = "box">
    <div>
        <input v-model="inputValue" >
    </div>
    <div>
        <ul >
            <li v-for="data in list ">
                {{data}}
            </li>
        </ul>
    </div>
</div>
<script>
    var obj = {
        data(){
            return {
                inputValue:"",
                dataList:["aa","abss","bb","cc","ac","bc"],
            }
        },
        computed:{
            list (){
                return this.dataList.filter(item=>item.includes(this.inputValue))
            }

        }

    }
    var app = Vue.createApp(obj).mount("#box")
</script>
</body>
</html>